package com.liuhuxiang.stock.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 库存服务
 *
 * @author liuhuxiang
 * @version: StockController.java, 2023年02月27日 下午12:19 liuhuxiang  Exp $
 */
@RestController
@RequestMapping("/stock")
public class StockController {

    @RequestMapping("/reduct")
    public String reduct() {
        System.out.println("扣除库存");
        return "扣除库存";
    }

}